<%-- 
    Document   : saldo
    Created on : 11-apr-2009, 18:28:31
    Author     : frankkie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
          <%
      boolean alleenAlsPinGoed = true;
          if (alleenAlsPinGoed) {
            if (session.getAttribute("pincodeGoed") == null || !session.getAttribute("pincodeGoed").equals("ja")) {
              //Is NIET goed...
              response.sendRedirect("index.jsp");
            }
          }
          %>
        <title>Lucky Bank - Saldo Opvragen</title>
        <link rel="stylesheet" type="text/css" href="bank.css" />
        <%
        if (pin.Database.antiRechtsklik){out.println(pin.Header.rechtsKlikBeveiliging);}
        %>
    </head>
    <body>
        <div class="groot"><h1>Saldo</h1></div>
        <div class="menu">
          <%
          double saldo = pin.Saldo.kijk((String)session.getAttribute("banknummer"),(String)session.getAttribute("rekeningnummer"));
          out.println("Uw Saldo bedraagt:\n&euro;" + saldo + "0");
          %>
          <br /><br />
          <a href="menu.jsp">Terug</a>
        </div>
    </body>
</html>